package top.continew.admin.sport.model.req;

import java.io.Serial;
import java.time.LocalDateTime;
import java.util.List;

import jakarta.validation.constraints.*;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import org.hibernate.validator.constraints.Length;

import top.continew.starter.extension.crud.model.req.BaseReq;

/**
 * 创建或修改项目裁判信息
 *
 * @author xiahaike
 * @since 2024/09/15 09:22
 */
@Data
@Schema(description = "创建或修改项目裁判信息")
public class ProjectRefereeReq extends BaseReq {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 比赛项目id
     */
    @Schema(description = "比赛项目id")
    @NotNull(message = "比赛项目id不能为空")
    private Long projectId;

    /**
     * 裁判员id（userId）
     */
    @Schema(description = "裁判员id（userId）")
    @NotNull(message = "裁判员id（userId）不能为空")
    private Long refereeId;

    private List<Long> refereeIds;
}